package config

import (
	"gitee.com/kristas/booting-go/framework"
	"gitee.com/kristas/booting-go/plugin/swagger_plugin"
)

func init() {
	framework.Component(swagger_plugin.NewConfig(swagger_plugin.Config{
		Info: swagger_plugin.Info{
			Description:    "This is a sample booting-go server.",
			Version:        "v0.0.1",
			TermsOfService: "http://kristas.top",
			Title:          "Booting GO Demo",
			Contact: swagger_plugin.Contact{
				Email: "wfl1997@qq.com",
			},
			License: swagger_plugin.License{
				Name: "Apache 2.0",
				URL:  "https://www.apache.org/licenses/LICENSE-2.0.html",
			},
		},
		BasePath: "",
		Host:     "",
		Schemes:  []string{"http", "https"},
	}))
}
